package org.tea.inventory.constants;

import org.tea.inventory.cache.constans.CacheConstants;

/**
 * @author hanzy
 * @description 商城锁
 * @date 2023年04月10日 16:41
 */
public class MallLockConstant {
    //福利商品上架功能的锁
    public static String UPLOAD_LOCK = CacheConstants.redisKey + "seckill:upload:lock";

    public static String SESSION_CACHE_PREFIX = CacheConstants.redisKey + "seckill:sessions:";

    public static String SECKILL_CHARE_PREFIX = CacheConstants.redisKey + "seckill:skus";

    public static String SKU_STOCK_SEMAPHORE = CacheConstants.redisKey + "seckill:stock:";    //+商品随机码
}
